﻿#region

using FluentNHibernate.Mapping;

#endregion

namespace MediaSage.Lib.Database
{
    public class VideoInfoMap : ClassMap<VideoInfoEntity>
    {
        #region Constructors

        public VideoInfoMap()
        {
            Table("VideoInfo");
            Id(m => m.ID).GeneratedBy.GuidComb().UnsavedValue("00000000-0000-0000-0000-000000000000");
            HasOne(m => m.Logo).Cascade.All();
            Map(m => m.Name);
        }

        #endregion Constructors
    }
}